package com.group.yztcedu.playlive.utils;

import com.group.yztcedu.playlive.bean.HomeBean;
import com.group.yztcedu.playlive.bean.LoadMoreBean;
import com.group.yztcedu.playlive.bean.PlayVideoBean;
import com.group.yztcedu.playlive.config.UrlConfig;

import java.util.HashMap;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

public interface BeanService {
    @GET(UrlConfig.HOME_URL)
    Call<HomeBean> getHome(@QueryMap()HashMap<String,String> params);
    @GET(UrlConfig.HOME_FIRE_URL)
    Call<LoadMoreBean> getFire(@QueryMap()HashMap<String,String> params);
    @GET(UrlConfig.HOME_WORLD_URL)
    Call<LoadMoreBean> getWorld(@QueryMap()HashMap<String,String> params);
    @GET(UrlConfig.HOME_KING_URL)
    Call<LoadMoreBean> getKing(@QueryMap()HashMap<String,String> params);
    @GET(UrlConfig.HOME_BALL_URL)
    Call<LoadMoreBean> getBall(@QueryMap()HashMap<String,String> params);
    @GET(UrlConfig.HOME_HOT_ROOM_URL)
    Call<LoadMoreBean> getHotRoom(@QueryMap()HashMap<String,String> params);
    @GET("room/{text}?")
    Call<PlayVideoBean>getPlayVideo(@Path("text") String text,@QueryMap()HashMap<String,String> params);
}
